# Data and Code for "Lucky to Work" #

Manuscript #: MS 29040

Authors: Puja Bhattacharya and Johanna Mollerstrom

Data Availability and Provenance Statements: The data for this study were collected by the authors, via Qualtrics surveys, through the market research firm Respondi, on Prolific and on Amazon Mechanical Turk. Additional information about data collection can be found in section 2 of the paper.

Data Types: dta

Computing Environment: Windows 11 Pro, Stata/MP 18.0

The following data archive contains the code for replicating the tables and figures in "Lucky to Work". The replicator should expect the code to run for under 10 minutes.

A detailed description of the experimental program can be found in Section 2 of the main text. A full set of screenshots for all study versions can be found in the Online Appendix. 

To produce the results in the paper, first save "restat.do" and all 3 datasets (respondi.dta; mturk.dta; prolific.dta) in the same folder. Let's call this the MAIN FOLDER. 

Within the MAIN FOLDER, create one subfolder entitled "Output". 

Then, use Stata/MP 18.0 to run the do-file entitled "restat.do". Note that "restat.do" contains detailed comments about which results correspond to which tables and figures in the paper.

Data Description 

respondi.dta - representative sample data collected for US and Sweden in the main experiment through the market research firm Respondi. 
mturk.dta - data collected for the US on Amazon Mechanical Turk. 
prolific.dta - representative sample data collected for US on Prolific. 

Below is more information on the results from the paper. 

Main Paper
 
Figure 1: See Figure1.png
Figure 2: For Panels A and B, see Figure2a.png and Figure2b.png
Table 1: See the output in Table1.tex
Figure 4: See Figure4.png
Table 2: See the output in Table2.tex
Table 3: See the output in Table3.tex
Figure 5: For Panels A and B, see Figure5a.png and Figure5b.png

Appendix A 

Table A1: See the output in TableA1.tex
Table A2: See the output in TableA2.tex
Figure A2: For Panels A and B, see FigureA2a.png and FigureA2b.png
Table A3: See the output in TableA3.tex
Table A4: See the output in TableA4.tex
Figure A3: See FigureA3.png
Figure A4: For Panels A and B, see FigureA4a.png and FigureA4b.png
Table A5: See the output in TableA5.tex
Figure A5: For Panels A and B, see FigureA5a.png and FigureA5b.png

Appendix B

Figure B1: See FigureB1.png
Table B1: See the output in TableB1.tex
Table B2: See the output in TableB2.tex
Table B3: See the output in TableB3.tex
Table B4: See the output in TableB4.tex
Table B5: See the output in TableB5.tex
Figure B2: For Panels A and B, see FigureB2a.png and FigureB2b.png
Figure B3: For Panels A and B, see FigureB3a.png and FigureB3b.png
Figure B4: See FigureB4.png
Figure B5: See FigureB5.png
Figure B6: See FigureB6.png
Table B6: See the output in TableB6.tex
Table B7: See the output in TableB7.tex

Appendix C

Information needed to run the experiment, including the Qualtrics surveys can be found in the folder "Experimental Software".

Data Dictionary

The list of all variables and variable descriptions are provided in varlist_description.xls



 
